package com.moneywelcome.riskassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author alice
 * @since 2022-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EngineModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("GUID")
    private String guid;

    /**
     * 模型名称
     */
    @TableField("MODEL_NAME")
    private String modelName;

    @TableField("LABEL")
    private String label;

    /**
     * 事件中标识实体的主键
     */
    @TableField("ENTITY_NAME")
    private String entityName;

    /**
     * 事件主键
     */
    @TableField("ENTRY_NAME")
    private String entryName;

    /**
     * 事件时间
     */
    @TableField("REFERENCE_DATE")
    private String referenceDate;

    @TableField("FIELD_VALIDATE")
    private Boolean fieldValidate;

    @TableField("CODE")
    private String code;

    /**
     * 1 标识模板
     */
    @TableField("TEMPLATE")
    private Boolean template;

    @TableField("DASHBOARD_URL")
    private String dashboardUrl;

    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;


}
